import request from '@/mall/utils/request';

export function getProductDetail(id, type) {
  return request.get({
    url: `product/detail/${id}?type=${type}`,
    opt: { noAuth: true },
  });
}
/**
 * 获取搜索关键字获取
 * 
 */
export function getSearchKeyword() {
  return request.get({
    url: `search/keyword`,
    opt: { noAuth: true },
  });
}
